package com.zycfc.zsf.boot.mq.rabbitmq.consumer;

public class ErrMessageDatatRequest
{
    private String requestData;
    private String requestIp;
    String messageId;
    String correlationId;
    String queueName;
    String requestClass;
    String applicationName;
    
    public ErrMessageDatatRequest() {
    }
    
    public ErrMessageDatatRequest(final String requestData, final String requestIp, final String messageId, final String correlationId, final String queueName, final String requestClass) {
        this.requestData = requestData;
        this.requestIp = requestIp;
        this.messageId = messageId;
        this.correlationId = correlationId;
        this.queueName = queueName;
        this.requestClass = requestClass;
    }
    
    public String getRequestData() {
        return this.requestData;
    }
    
    public String getRequestIp() {
        return this.requestIp;
    }
    
    public String getMessageId() {
        return this.messageId;
    }
    
    public String getCorrelationId() {
        return this.correlationId;
    }
    
    public String getQueueName() {
        return this.queueName;
    }
    
    public String getRequestClass() {
        return this.requestClass;
    }
    
    public String getApplicationName() {
        return this.applicationName;
    }
    
    public void setRequestData(final String requestData) {
        this.requestData = requestData;
    }
    
    public void setRequestIp(final String requestIp) {
        this.requestIp = requestIp;
    }
    
    public void setMessageId(final String messageId) {
        this.messageId = messageId;
    }
    
    public void setCorrelationId(final String correlationId) {
        this.correlationId = correlationId;
    }
    
    public void setQueueName(final String queueName) {
        this.queueName = queueName;
    }
    
    public void setRequestClass(final String requestClass) {
        this.requestClass = requestClass;
    }
    
    public void setApplicationName(final String applicationName) {
        this.applicationName = applicationName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ErrMessageDatatRequest)) {
            return false;
        }
        final ErrMessageDatatRequest other = (ErrMessageDatatRequest)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$requestData = this.getRequestData();
        final Object other$requestData = other.getRequestData();
        Label_0065: {
            if (this$requestData == null) {
                if (other$requestData == null) {
                    break Label_0065;
                }
            }
            else if (this$requestData.equals(other$requestData)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$requestIp = this.getRequestIp();
        final Object other$requestIp = other.getRequestIp();
        Label_0102: {
            if (this$requestIp == null) {
                if (other$requestIp == null) {
                    break Label_0102;
                }
            }
            else if (this$requestIp.equals(other$requestIp)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$messageId = this.getMessageId();
        final Object other$messageId = other.getMessageId();
        Label_0139: {
            if (this$messageId == null) {
                if (other$messageId == null) {
                    break Label_0139;
                }
            }
            else if (this$messageId.equals(other$messageId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$correlationId = this.getCorrelationId();
        final Object other$correlationId = other.getCorrelationId();
        Label_0176: {
            if (this$correlationId == null) {
                if (other$correlationId == null) {
                    break Label_0176;
                }
            }
            else if (this$correlationId.equals(other$correlationId)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$queueName = this.getQueueName();
        final Object other$queueName = other.getQueueName();
        Label_0213: {
            if (this$queueName == null) {
                if (other$queueName == null) {
                    break Label_0213;
                }
            }
            else if (this$queueName.equals(other$queueName)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$requestClass = this.getRequestClass();
        final Object other$requestClass = other.getRequestClass();
        Label_0250: {
            if (this$requestClass == null) {
                if (other$requestClass == null) {
                    break Label_0250;
                }
            }
            else if (this$requestClass.equals(other$requestClass)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$applicationName = this.getApplicationName();
        final Object other$applicationName = other.getApplicationName();
        if (this$applicationName == null) {
            if (other$applicationName == null) {
                return true;
            }
        }
        else if (this$applicationName.equals(other$applicationName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof ErrMessageDatatRequest;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $requestData = this.getRequestData();
        result = result * 59 + (($requestData == null) ? 43 : $requestData.hashCode());
        final Object $requestIp = this.getRequestIp();
        result = result * 59 + (($requestIp == null) ? 43 : $requestIp.hashCode());
        final Object $messageId = this.getMessageId();
        result = result * 59 + (($messageId == null) ? 43 : $messageId.hashCode());
        final Object $correlationId = this.getCorrelationId();
        result = result * 59 + (($correlationId == null) ? 43 : $correlationId.hashCode());
        final Object $queueName = this.getQueueName();
        result = result * 59 + (($queueName == null) ? 43 : $queueName.hashCode());
        final Object $requestClass = this.getRequestClass();
        result = result * 59 + (($requestClass == null) ? 43 : $requestClass.hashCode());
        final Object $applicationName = this.getApplicationName();
        result = result * 59 + (($applicationName == null) ? 43 : $applicationName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "ErrMessageDatatRequest(requestData=" + this.getRequestData() + ", requestIp=" + this.getRequestIp() + ", messageId=" + this.getMessageId() + ", correlationId=" + this.getCorrelationId() + ", queueName=" + this.getQueueName() + ", requestClass=" + this.getRequestClass() + ", applicationName=" + this.getApplicationName() + ")";
    }
}
